package com.astronomia.wheels.design_pattern.strategy_model;

import java.io.Serializable;
import java.util.Date;

public class ServiceDto implements Serializable {

     private String id;

     private String name;

     private Integer type;

     private Date date;

    public ServiceDto(String id, String name, Integer type, Date date) {
        this.id = id;
        this.name = name;
        this.type = type;
        this.date = date;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    @Override
    public String toString() {
        return "ServiceDto{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", type=" + type +
                ", date=" + date +
                '}';
    }
}
